package pm.net;

import java.net.InetAddress;

public class Client {
	private InetAddress inetAddress;
	private String nickname;
	private long lastActivity;

	public Client(InetAddress inetAddress, long lastActivity, String nickname) {
		this.inetAddress = inetAddress;
		this.lastActivity = lastActivity;
		this.nickname = nickname;
	}

	public InetAddress getInetAddress() {
		return inetAddress;
	}

	public void setInetAddress(InetAddress inetAddress) {
		this.inetAddress = inetAddress;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public long getLastActivity() {
		return lastActivity;
	}

	public void setLastActivity(long lastActivity) {
		this.lastActivity = lastActivity;
	}
}
